export default class Button {
    constructor() {
      this.plugin = {
        name: "设置全量更新抽卡记录",
        dsc: "设置全量更新抽卡记录",
        priority: 100,
        rule: [
          {
            reg: "^#?设置全量(更新|获取)(抽卡|祈愿)记录\s*(开|关|on|off)?$",
            fnc: 'setFetchFullLog'
          }
        ]
      }
    }
    async setFetchFullLog(e){
      const list = [
        [
          { label: `扫码绑定`, callback: `/扫码绑定` },
          { label: `刷新CK`, callback: `/刷新ck` },
          { label: `刷新CD`, callback: `/刷新CD` },
        ],[
          { label: `设置全量记录`, callback: `/设置全量更新抽卡记录` },
          { label: `更新抽卡记录`, callback: `/更新抽卡记录` },
        ],[
          { label: `获取小助手记录`, callback: `/获取小助手记录` }
        ]
      ]
      return Bot.Button(list)
    }
  }